package com.reggie.mapper;

import com.reggie.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM user WHERE phone=#{phone} limit 1")
    User find(String phone);
}
